doe_diagnostics Derived Type

type, public :: doe_diagnostics

Model diagnostics and goodness-of-fit metrics.


Components

Type Visibility Attributes Name Initial
real(kind=real64), public :: f_p_value

P-value for the overall F-statistic.

real(kind=real64), public :: f_statistic

Overall F-statistic for the model.

real(kind=real64), public :: mean_response

Mean of the response variable.

integer(kind=int32), public :: n_observations

Number of observations.

integer(kind=int32), public :: n_parameters

Number of model parameters (including intercept).

real(kind=real64), public :: r_squared

The coefficient of determination (R²), range [0, 1].

real(kind=real64), public :: r_squared_adjusted

The adjusted R² accounting for model complexity.

real(kind=real64), public :: residual_std_error

Residual standard error (standard deviation of residuals).

real(kind=real64), public :: rmse

Root mean square error.